package com.dv.shell.dao;

import com.dv.shell.entity.ProductCategory;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @Author DavidLoman
 * @create 2021/3/21 18:23
 */
public interface ProductCategoryDao extends JpaRepository<ProductCategory, Integer> {

    /*通过CategoryType的集合 查询 类目*/
    List<ProductCategory> findByCategoryTypeIn(List<Integer> categoryTypeList);
}
